﻿using GYCTOAManagementSystemNewApi.Model.Enum.PayrollForm;
using GYCTOAManagementSystemNewApi.Model.Tool;
using System;

namespace GYCTOAManagementSystemNewApi.Model.Entity 
{
    /// <summary>
    /// 报销单
    /// </summary>
    public class FinanceReimbursementReim : Operate
    {
        /// <summary>
        /// 项目Id
        /// </summary>
        public int ProjectId { get; set; }
        /// <summary>
        /// 项目名称
        /// </summary>
        public string ProjectName { get; set; }
        /// <summary>
        /// 单据编号
        /// </summary>
        public string ReimNumber { get; set; }
        /// <summary>
        /// 报销人
        /// </summary>
        public int UserId { get; set; }
        /// <summary>
        /// 报销时间
        /// </summary>
        public DateTime BorrowTime { get; set; }

        /// <summary>
        /// 报销类别
        /// </summary>
        public FinanceLoanResEnum FinanceReimbursementReimType { set; get; }

        /// <summary>
        /// 报销状态
        /// </summary>
        public OrderStateEnum FinanceReimbursementStart { get; set; } = OrderStateEnum.WaitApprove;
        /// <summary>
        ///  开帐批号
        /// </summary>
        public string  SettlementNumber { get; set; }

        /// <summary>
        /// 是否开帐
        /// </summary>
        public bool Settlement { get; set; }

        public  double Money { get; set; }
    }
}
